<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>后台管理</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="css/style.css">
    <style>
        .main-sidebar {
            height: 100vh;
            overflow: auto;
        }

        @media (max-width: 767px) {
            .main-sidebar {
                display: none;
            }
        }
    </style>
</head>
<body>

    <nav class="main-header navbar navbar-expand navbar-white navbar-light">
        <a class="navbar-brand" href="index.php">后台管理</a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
            <span class="navbar-toggler-icon"></span>
        </button>
    </nav>

    <aside class="main-sidebar sidebar-dark-primary elevation-4">
        <div class="sidebar">
            <nav class="mt-2">
                <ul class="nav nav-pills nav-sidebar flex-column">
                    <li class="nav-item">
                        <a href="users.php" class="nav-link">用户管理</a>
                    </li>
                    <li class="nav-item">
                        <a href="tools.php" class="nav-link">小工具管理</a>
                    </li>
                    <li class="nav-item">
                        <a href="call-records.php" class="nav-link">调用记录管理</a>
                    </li>
                    <li class="nav-item">
                        <a href="logout.php" class="nav-link">登出</a>
                    </li>
                </ul>
            </nav>
        </div>
    </aside>